Notebook regression fixed
authorRaymond Penners <pennersr@src.gnome.org>
Thu, 11 Sep 2003 18:44:39 +0000 (18:44 +0000)
committerRaymond Penners <pennersr@src.gnome.org>
Thu, 11 Sep 2003 18:44:39 +0000 (18:44 +0000)
modules/engines/ms-windows/wimp_style.c

index eeec05478f81d74ee5e6bdb90621e551e525fdf6..61ac88cd105c4ac0f013f915c471062f65437bb8 100755 (executable)
@@ -1237,8 +1237,8 @@ draw_extension(GtkStyle *style,
       GtkNotebook *notebook = GTK_NOTEBOOK(widget);
       GtkPositionType pos_type = gtk_notebook_get_tab_pos(notebook);
 
-      if (pos_type == GTK_POS_TOP)
-       height += XP_EDGE_SIZE;
+      if (pos_type == GTK_POS_TOP && state_type == GTK_STATE_NORMAL)
+          height += XP_EDGE_SIZE;
 
 #if 0
        /* FIXME: pos != TOP to be implemented */